<template>
  <div class="home">
    <a-button type="primary">Primary Button</a-button>
    <a-checkbox>哈哈</a-checkbox>
    <HelloWorld msg="Welcome to Your Vue.js + TypeScript App" />
  </div>
</template>

<script lang="ts">
import { Options, Vue } from "vue-class-component";
import HelloWorld from "@/components/HelloWorld.vue"; // @ is an alias to /src
import { baseApis } from '@/apis'

@Options({
  components: {
    HelloWorld,
  },
  mounted() {
    console.log(baseApis)
    this.$message.success("This is a success message");
    this.$local.set("zh", { a: 2 });
    this.$session.set("zh", { a: 2 });
    setTimeout(() => {
      console.log(this.$session.get("zh"));
      this.$local.clear();
    }, 10000);
  },
})
export default class Home extends Vue {}
</script>
